package interfaces.spawnMenu.costumize.weapons;

import org.fenggui.binding.render.ImageFont;
import org.fenggui.event.IButtonPressedListener;

import interfaces.tables.TableButton;

public class WeaponTableButton extends TableButton {
	
	private String weaponDirName;
	
	public WeaponTableButton(String weaponName, String weaponDirName, IButtonPressedListener listener, ImageFont font) {
		super(weaponName, listener, font);
		this.weaponDirName = weaponDirName;
	}
	
	public String getWeaponDirName() { return weaponDirName; }
	
	@Override
	public TableButton getCopy() {
		return new WeaponTableButton(getText(), weaponDirName, getListener(), buttonFont);
	}
}